package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.ReceivablesPlanDao;
import com.bootdo.crm.domain.ReceivablesPlanDO;
import com.bootdo.crm.service.ReceivablesPlanService;



@Service
public class ReceivablesPlanServiceImpl implements ReceivablesPlanService {
	@Autowired
	private ReceivablesPlanDao receivablesPlanDao;
	
	@Override
	public ReceivablesPlanDO get(Integer planId){
		return receivablesPlanDao.get(planId);
	}
	
	@Override
	public List<ReceivablesPlanDO> list(Map<String, Object> map){
		return receivablesPlanDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return receivablesPlanDao.count(map);
	}
	
	@Override
	public int save(ReceivablesPlanDO receivablesPlan){
		return receivablesPlanDao.save(receivablesPlan);
	}
	
	@Override
	public int update(ReceivablesPlanDO receivablesPlan){
		return receivablesPlanDao.update(receivablesPlan);
	}
	
	@Override
	public int remove(Integer planId){
		return receivablesPlanDao.remove(planId);
	}
	
	@Override
	public int batchRemove(Integer[] planIds){
		return receivablesPlanDao.batchRemove(planIds);
	}
	
}
